package com.woniuxy.joylifeshop.service;

import com.woniuxy.common.entity.ShopMerchant;
import com.woniuxy.common.entity.ShopMerchantAccount;
import com.woniuxy.common.entity.ShopOrderItem;

import java.util.List;

public interface MerchantAccountService {


    void modifyByPurchase(ShopOrderItem shopOrderItem);

    List<ShopMerchantAccount> readMerchantAccountObject(ShopMerchant shopMerchant);

    void modifyByWithdraw(ShopMerchantAccount shopMerchantAccount);

    ShopMerchantAccount readMerchantAccountByPrimaryId(ShopMerchantAccount shopMerchantAccount);
}
